<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
    <div class="layui-form timo-compile">
    <form th:action="@{/welfare/welfare/save}">
        <div class="layui-form-item">
            <label class="layui-form-label">请假类型</label>
            <div class="layui-input-inline">
                <select class="layui-input" name="cos"  >
                    <option value="事假">请选择类型</option>
                    <option value="事假">事假</option>
                    <option value="病假">病假</option>
                    <option value="其他">其他</option>
                </select>
<!--                <input class="layui-input" type="hidden" name="cos" value="低保申请表" placeholder="请输入申请表类型" >-->
            </div>
        </div>
        <input type="hidden" name="id" th:if="${welfare}" th:value="${welfare.id}">
<!--        <div class="layui-form-item">-->
<!--            <label class="layui-form-label">编号</label>-->
<!--            <div class="layui-input-inline">-->
                <input class="layui-input" type="hidden" name="code" value="DB"  placeholder="请输入编号">
<!--            </div>-->
<!--        </div>-->
<!--        <div class="layui-form-item">-->
<!--            <label class="layui-form-label">目的地</label>-->
<!--            <div class="layui-input-inline">-->
<!--                <input class="layui-input" type="text" name="account" placeholder="目的地" th:value="${welfare?.account}">-->
<!--            </div>-->
<!--        </div>-->
        <div class="layui-form-item">
            <label class="layui-form-label">姓名</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="name" placeholder="请输入姓名" th:value="${welfare?.name}">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">学号</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="number" placeholder="请输入学号" th:value="${welfare?.number}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">联系方式</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="card" placeholder="请输入联系方式" th:value="${welfare?.card}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">目的地</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="area" placeholder="请输入目的地" th:value="${welfare?.area}">
            </div>
        </div>
<!--        <div class="layui-form-item">-->
<!--            <label class="layui-form-label">婚姻状况</label>-->
<!--            <div class="layui-input-inline">-->
<!--                <select class="layui-input" name="gam"  >-->
<!--                    <option value="未婚">请选择婚姻状况</option>-->
<!--                    <option value="已婚">已婚</option>-->
<!--                    <option value="未婚">未婚</option>-->
<!--                    <option value="离婚">离婚</option>-->
<!--                    <option value="丧偶">丧偶</option>-->
<!--                    <option value="未说明">未说明</option>-->
<!--                </select>-->
<!--&lt;!&ndash;                <input class="layui-input" type="text" name="gam" placeholder="请输入婚姻状况" th:value="${welfare?.gam}">&ndash;&gt;-->
<!--            </div>-->
<!--        </div>-->
<!--        <div class="layui-form-item">-->
<!--            <label class="layui-form-label">类型</label>-->
<!--            <div class="layui-input-inline">-->
<!--                <select class="layui-input" name="type"  >-->
<!--                    <option value="A">请选择类型</option>-->
<!--                    <option value="A">A类型</option>-->
<!--                    <option value="B">B类型</option>-->
<!--                    <option value="C">C类型</option>-->
<!--                </select>-->
<!--&lt;!&ndash;                <input class="layui-input" type="text" name="type" placeholder="请输入低保类型" th:value="${welfare?.type}">&ndash;&gt;-->
<!--            </div>-->
<!--        </div>-->
<!--        <div class="layui-form-item">-->
<!--            <label class="layui-form-label">（非申请残疾请选择有劳动能力）</label>-->
<!--            <div class="layui-input-inline">-->
<!--                <select class="layui-input" name="labor"  >-->
<!--                    <option value="有劳动能力">请选择劳动能力</option>-->
<!--                    <option value="有劳动能力">有劳动能力</option>-->
<!--                    <option value="无劳动能力">无劳动能力</option>-->
<!--                    <option value="部分丧失">部分丧失</option>-->
<!--                    <option value="完全丧失">完全丧失</option>-->
<!--                    <option value="其它">其它</option>-->
<!--                </select>-->
<!--&lt;!&ndash;                <input class="layui-input" type="text" name="labor" placeholder="请输入劳动能力" th:value="${welfare?.labor}">&ndash;&gt;-->
<!--            </div>-->
<!--        </div>-->
<!--        <div class="layui-form-item">-->
<!--            <label class="layui-form-label">享受人数</label>-->
<!--            <div class="layui-input-inline">-->
<!--                <input class="layui-input" type="text" name="num" placeholder="请输入享受人数" th:value="${welfare?.num}">-->
<!--            </div>-->
<!--        </div>-->
<!--        <div class="layui-form-item">-->
<!--            <label class="layui-form-label">保障金额</label>-->
<!--            <div class="layui-input-inline">-->
<!--                <input class="layui-input" type="text" name="money" placeholder="请输入保障金额" th:value="${welfare?.money}">-->
<!--            </div>-->
<!--        </div>-->
        <div class="layui-form-item">
            <label class="layui-form-label">开始时间</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="datetime-local" name="startDate" placeholder="请输入开始时间" th:value="${welfare?.startDate}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">结束时间</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="datetime-local" name="endDate" placeholder="请输入结束时间" th:value="${welfare?.endDate}">
            </div>
        </div>

<!--        <div class="layui-form-item">-->
<!--            <label class="layui-form-label">开户行</label>-->
<!--            <div class="layui-input-inline">-->
<!--                <input class="layui-input" type="text" name="bank" placeholder="请输入开户行" th:value="${welfare?.bank}">-->
<!--            </div>-->
<!--        </div>-->

<!--        <div class="layui-form-item">-->
<!--            <label class="layui-form-label">用户id</label>-->
<!--            <div class="layui-input-inline">-->
<!--                <input class="layui-input" type="text" name="userId" placeholder="请输入用户id" th:value="${welfare?.userId}">-->
<!--            </div>-->
<!--        </div>-->
<!--        <div class="layui-form-item">-->
<!--            <label class="layui-form-label">流转部门ID</label>-->
<!--            <div class="layui-input-inline">-->
<!--                <input class="layui-input" type="text" name="move" placeholder="请输入流转部门ID" th:value="${welfare?.move}">-->
<!--            </div>-->
<!--        </div>-->
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">请假原因</label>
            <div class="layui-input-block">
                <textarea placeholder="请输入内容" class="layui-textarea" name="remark">[[${welfare?.remark}]]</textarea>
            </div>
        </div>
        <div class="layui-form-item timo-finally">
            <button class="layui-btn ajax-submit"><i class="fa fa-check-circle"></i> 保存</button>
            <button class="layui-btn btn-secondary close-popup"><i class="fa fa-times-circle"></i> 关闭</button>
        </div>
    </form>
</div>
<script th:replace="/common/template :: script"></script>
</body>
</html>